/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.offline.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.offline.entity.TbOfflinePay;
import com.thinkgem.jeesite.modules.offline.dao.TbOfflinePayDao;

/**
 * 线下收银Service
 * @author 线下收银
 * @version 2017-01-15
 */
@Service
@Transactional(readOnly = true)
public class TbOfflinePayService extends CrudService<TbOfflinePayDao, TbOfflinePay> {

	public TbOfflinePay get(String id) {
		return super.get(id);
	}
	
	public List<TbOfflinePay> findList(TbOfflinePay tbOfflinePay) {
		return super.findList(tbOfflinePay);
	}
	
	public Page<TbOfflinePay> findPage(Page<TbOfflinePay> page, TbOfflinePay tbOfflinePay) {
		return super.findPage(page, tbOfflinePay);
	}
	
	@Transactional(readOnly = false)
	public void save(TbOfflinePay tbOfflinePay) {
		super.save(tbOfflinePay);
	}
	
	@Transactional(readOnly = false)
	public void delete(TbOfflinePay tbOfflinePay) {
		super.delete(tbOfflinePay);
	}
	
}